import type { Theme } from "ant-design-vue/es/config-provider";

export enum SlTheme {
  blue = "blue",
  volcano = "volcano",
}

export function getTheme(key: SlTheme): Theme {
  switch (key) {
    case SlTheme.volcano:
      return {
        primaryColor: "#4285F4",
        // infoColor: "#";
        successColor: "#2ECC74",
        // processingColor?: string;
        errorColor: "#F56662",
        warningColor: "#F5B532",
      };
    default:
      return {
        primaryColor: "#4285F4",
        // infoColor: "#";
        successColor: "#2ECC74",
        // processingColor?: string;
        errorColor: "#F56662",
        warningColor: "#F5B532",
      };
  }
}
